package com.yixuan.mt.common.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.yixuan.mt.common.entity.Policy;
import com.yixuan.mt.common.request.PostPoliciesRequest;

import java.util.List;

public interface PoliciesService {
    void postPolicies(PostPoliciesRequest postPoliciesRequest);

    void deletePolicies(Integer id) throws JsonProcessingException;

    void putPolicies(Policy policy) throws JsonProcessingException;

    List<Policy> getPoliciesList();

    List<Policy> getPoliciesList(Integer[] ids);

    String getPolicyDetail(Integer id);
}
